﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="OrderList.aspx.cs" Inherits="FeiHongWeb.Admin.OrderList" %>

<%@ Register Assembly="AspNetPager" Namespace="Wuqi.Webdiyer" TagPrefix="webdiyer" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>
    <link href="../Styles/skin.css" rel="stylesheet" type="text/css" />
</head>
<body>
    <form id="form1" runat="server">
    <table cellspacing="1" cellpadding="3" width="96%" align="center" border="0" height="100%">
        <tr>
            <td>
                <asp:GridView ID="gv_order" runat="server" Width="100%" AutoGenerateColumns="False"
                    CssClass="gv_css" OnRowCommand="gv_order_RowCommand">
                    <RowStyle CssClass="row" />
                    <AlternatingRowStyle CssClass="alterRow" />
                    <Columns>
                        <asp:TemplateField HeaderText="产品型号">
                            <ItemTemplate>
                                <%#Eval("model")%>
                            </ItemTemplate>
                            <HeaderStyle Width="20%"></HeaderStyle>
                        </asp:TemplateField>
                        <asp:TemplateField HeaderText="需求数量">
                            <ItemTemplate>
                                <%#Eval("num")%>
                            </ItemTemplate>
                            <HeaderStyle Width="20%"></HeaderStyle>
                            <ItemStyle HorizontalAlign="Center" />
                        </asp:TemplateField>
                        <asp:TemplateField HeaderText="联系人">
                            <ItemTemplate>
                                <%#Eval("person")%>
                            </ItemTemplate>
                            <HeaderStyle Width="20%"></HeaderStyle>
                            <ItemStyle HorizontalAlign="Center" />
                        </asp:TemplateField>
                        <asp:TemplateField HeaderText="联系电话">
                            <ItemTemplate>
                                <%#Eval("phone")%>
                            </ItemTemplate>
                            <HeaderStyle Width="20%"></HeaderStyle>
                            <ItemStyle HorizontalAlign="Center" />
                        </asp:TemplateField>
                        <asp:TemplateField HeaderText="操作" ItemStyle-HorizontalAlign="Center">
                            <ItemTemplate>
                                <asp:Button ID="show" CommandName="show" CommandArgument='<%#Eval("Id")%>' runat="server"
                                    Text="查看详情" />
                            </ItemTemplate>
                            <HeaderStyle Width="20%"></HeaderStyle>
                        </asp:TemplateField>
                    </Columns>
                </asp:GridView>
            </td>
        </tr>
        <tr>
            <td>
                <webdiyer:AspNetPager ID="AspNetPager1" runat="server" CssClass="paginator" CurrentPageButtonClass="cpb"
                    CurrentPageIndex="1" EnableTheming="true" FirstPageText="首页" LastPageText="尾页"
                    NextPageText="下一页" OnPageChanged="AspNetPager1_PageChanged" PageSize="10" PrevPageText="上一页"
                    ShowPageIndexBox="Never" UrlPaging="true" Width="100%">
                </webdiyer:AspNetPager>
            </td>
        </tr>
    </table>
    </form>
</body>
</html>
